package org.geoscrape;

import java.io.Serializable;

/**
 * Serves as base for Caches and WayPoints.
 *
 */
public class BasePlace implements Serializable
{
	private static final long serialVersionUID = 1694695719975830149L;
	private String name;
	private Cacher hider;
	//owner and hider may not be the same
	private Cacher owner;
	private Location location;
	

	/**
	 * @return the name
	 */
	public String getName()
	{
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name)
	{
		this.name = name;
	}


	/**
	 * @return the owner
	 */
	public Cacher getOwner()
	{
		return owner;
	}

	/**
	 * @param owner the owner to set
	 */
	public void setOwner(Cacher owner)
	{
		this.owner = owner;
	}

	/**
	 * @return the hider
	 */
	public Cacher getHider()
	{
		return hider;
	}

	/**
	 * @param hider the hider to set
	 */
	public void setHider(Cacher hider)
	{
		this.hider = hider;
	}

	/**
	 * @return the location
	 */
	public Location getLocation()
	{
		return location;
	}

	/**
	 * @param location the location to set
	 */
	public void setLocation(Location location)
	{
		this.location = location;
	}
}
